package com.lingz.manager.modules.wuxue.serviceimpl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lingz.manager.modules.wuxue.mapper.YikemanDataMapper;
import com.lingz.manager.modules.wuxue.entity.YikemanData;
import com.lingz.manager.modules.wuxue.service.YikemanDataService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Classname YikemanDataServiceImpl
 * @Description TODO
 * @Date 2023/12/2 20:30
 * @Created by mjh
 */
@Slf4j
@Service
@Transactional
public class YikemanDataServiceImpl extends ServiceImpl<YikemanDataMapper, YikemanData> implements YikemanDataService {
    @Autowired
    YikemanDataMapper yikemanDataMapper;
    @Override
    public List<YikemanData> findYikemanDataList(YikemanData yikemanData) {
        LambdaQueryWrapper<YikemanData> wrapper = Wrappers.lambdaQuery(YikemanData.class);
        return yikemanDataMapper.selectList(wrapper);
    }
}
